package com.idea.editor.view;

import com.idea.editor.lang.c.CLexer;

public class CColorScheme extends ColorSchemeLight {
    @Override
    public int getTokenColor(int tokenType) {
        Colorable colorable = Colorable.FOREGROUND;
        if (tokenType > 14 && tokenType < 49)
            colorable = Colorable.KEYWORD;
        if (tokenType == CLexer.StringLiteral)
            colorable = Colorable.STRING;
        if (tokenType == CLexer.Constant)
            colorable = Colorable.NAME;

        return getColor(colorable);
    }
}
